//
// Copyright (c) 2024 BPer
//
#ifndef ___BPerAudioBuffer__
#define ___BPerAudioBuffer__


#include <bperutil/buffer/BPerMediaBuffer.h>
class BPerAudioBuffer:public BPerMediaBuffer
{
public:
	BPerAudioBuffer(int32_t pcacheNum);
	~BPerAudioBuffer(void);
	void putAudio(BPerFrame* pframe);
	int32_t getAudio(BPerFrame* pframe);
	uint8_t *getAudioRef(BPerFrame* pframe);
	void reset();

private:

	int32_t m_bufLen;

};
#endif
